import request from '@/utils/request'
//教学班次管理接口
export function eduTeachingQuery(data) { //教学班次管理接口信息分页列表
    return request({
        method: 'get',
        url: '/eduTeaching/query',
        params: data
    })
}

export function eduTeachingQueryById(id) { //查询一条教学班次管理接口信息
    return request({
        method: 'get',
        url: '/eduTeaching/query/' + id,
    })
}

export function eduTeachingAdd(data) { //添加一条教学班次管理接口信息
    return request({
        method: 'post',
        url: '/eduTeaching/add',
        data
    })
}

export function eduTeachingDelete(id) { //删除一条教学班次管理接口信息
    return request({
        method: 'get',
        url: '/eduTeaching/delete/' + id,
    })
}

export function eduTeachingUpdate(data) { //修改一条教学班次管理接口信息
    return request({
        method: 'post',
        url: '/eduTeaching/update',
        data
    })
}